<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
	<title>Arguments</title>

	<script type="text/javascript">
		function DO(){
			arguments.concat = function(a){
				return Array.prototype.concat.apply(this,arguments);
			}
			arguments.contructor = Array;
			
			var a = [1,2,3,4,5];
			var b = [10,11,12,13,14,15];
			
			return arguments.concat(a.concat(b));
			//return a.concat(b,arguments);
			
		}
		
		window.onload = function(){
			console.log(DO("a","b","c","d","e"))
		}
		
	</script>
</head>
<body>
	<h1>Arguments</h1>
	arguments.pop = Array.prototype.pop;
	arguments.push = Array.prototype.push;
	arguments.reverse = Array.prototype.reverse;
	arguments.shift = Array.prototype.shift;
	arguments.sort = Array.prototype.sort;
	arguments.splice = Array.prototype.splice;
	arguments.unshift = Array.prototype.unshift;
	arguments.join = Array.prototype.join;
	arguments.slice = Array.prototype.slice;
	arguments.toSource = Array.prototype.toSource;
	arguments.toString = Array.prototype.toString;
	arguments.valueOf = Array.prototype.valueOf;
</body>

</html>
